package com.bosssoft.user.permission.center.serve.pojo.query;

import common.data.base.BasePageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色界面的查询条件类")
public class RoleQuery extends BasePageQuery {

    @NotBlank(message = "公司ID不能为空")
    @ApiModelProperty("公司ID")
    private List<Long> companyIds;


    @ApiModelProperty("角色名称")
    private String name;
}
